﻿using Crawler.ApplicationServices;
using Crawler.ContentProcessors.Yify;
using Crawler.DomainServices.Processors;
using StructureMap.Configuration.DSL;

namespace Crawler.ContentProcessors
{
	public class ContentProcessorsRegistry : Registry
	{
		public ContentProcessorsRegistry()
		{
			For<IPageContentProcessor>().Use<YifyMoviePageContentProcessor>();
			For<IYifySubtitleProcessor>().Use<YifySubtitleProcessor>();
			For<IHtmlParserHelper>().Use<HtmlParserHelper>();
			For<ITorrentContentProcessor>().Use<TorrentContentProcessor>();
		}
	}
}